const express = require('express');

const router = express.Router();

const {
  getBookmarks,
  addBookmark,
  updateBookmark,
  deleteBookmark,
} = require('../controllers/bookmarkC');

router.get('/', getBookmarks);
router.post('/', addBookmark);
router.put('/:id', updateBookmark);
router.delete('/:id', deleteBookmark);

module.exports = router;
